class Person1
{
    private String name;
    private int age;
    public Person1(String name, int age)
    {
        this.name = name;
        this.age = age;
    }
    public String toString()
    {
        return "name:" + this.name + ", age:" + this.age;
    }
}

public class ZhaiZhiJie01
{
    public static void main(String[] args) {
        Person1 per = new Person1("zhangsan", 30);
        System.out.println(per);
    }
}
